home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / graphic / pvquan16.zip / ANIM1.SH < prev    next >
Text File  |  1992-11-30  |  602b  |  26 lines

  1. : Usage:   anim.sh filename
  2.  
  3. : expects filename.anm and filename.dat to be present
  4. : creates then deletes filename_xxx.dat, filename_xxx.tga, filename_0.xxx
  5. :                         where xxx is in the range 0..??
  6. : creates filename.fli
  7.  
  8. animdat $1
  9. i=0
  10. echo $1_$i.pov
  11. while test -r $1_$i.pov
  12. do
  13.     nice povray -i$1_$i.pov -o$1_$i.tga /usr/export/home/kai/f_vander/Pov/$2.def
  14.     times
  15.     rm $1_$i.pov
  16.     i="`expr $i + 1`"
  17. done
  18. echo Raytracing finished
  19. times
  20. nice heckbert -t=1 -i=1 -s=0 -n=$i $1
  21. rm $1*.tga
  22. animfli $1 $1
  23. rm $1.[0-9]*
  24. mv $1.fli /usr/export/home/kai/f_vander/Down
  25. times
  26.